
.datepicker *{
    margin:0;
    padding:0;
}
.date-head,
.datepicker-confirm {
    border-width: 0;
    -webkit-border-image: url("") 2 2 stretch;
}

ul li {
    list-style: none;
}

.datepicker-icon {
    display: inline-block;
    vertical-align: -5px;
    height: 24px;
    width: 24px;
    -webkit-background-size: 24px 24px;
    background-image: url();
}

.datepicker-cover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9990;
}

.datepicker {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    display: none;
    width: 290px;
    margin-left: -145px;
    margin-top: -125px;
    font-size: 18px;
    color: #222;
    background: #fff;
    font-family: sans-serif;
    border-radius: 5px;
}

.datepicker li {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    box-sizing: border-box;
}

.date-head {
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    border-bottom-width: 1px;
    box-sizing: border-box;
}

.datepicker-picked {
    margin-left: 5px;
}

.date-foot {
    height: 50px;
    line-height: 50px;
    text-align: center;
    box-sizing: border-box;
}

.datepicker-confirm {
    border-top-width: 1px;
    box-sizing: border-box;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.date-wrap {
    display: -webkit-box;
    height: 150px;
    margin: 0 15px;
}

.year-wrap,
.month-wrap,
.day-wrap {
    position: relative;
    -webkit-box-flex: 1;
    height: 150px;
    overflow: hidden;
}

.year-wrap:before,
.month-wrap:before,
.day-wrap:before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 50px;
    left: 12px;
    right: 12px;
    height: 50px;
    border-top: 1px solid #8b86ff;
    border-bottom: 1px solid #8b86ff;
}

.year-wrap:after,
.month-wrap:after,
.day-wrap:after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0px;
    width: 100%;
    left: 0;
    bottom: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(10%, rgba(255, 255, 255, 1)), color-stop(38%, rgba(255, 255, 255, 0)), color-stop(62%, rgba(255, 255, 255, 0)), color-stop(90%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 1) 100%);
}

.year,
.month,
.day {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.animate {
    -webkit-transition-property: top;
    -webkit-transition-duration: 300ms;
}
